Skip to content

Conversation

MarkusLassila
Copy link
Contributor

@MarkusLassila MarkusLassila commented May 14, 2025

Previously, it was expected that the modem would immediately
disconnect and close the PPP link, when the network was lost
(+CEREG: 4 is received). Failure to do so, would result in
modem attempting to chat with dlci2 channel, where as cellular
modem driver would drop to dlci1. This would show as dial
script timing out, which would freeze cellular modem driver.

Adding dormant state enables graceful disconnection of PPP-link
when the network is lost. This allows the modems which do
not automatically close with network link loss to close
based on PPP link closure.

…xt-flash"

This reverts commit cb87e13.

Signed-off-by: Johann Fischer <[email protected]>
This reverts commit bbb5ec0.

Signed-off-by: Johann Fischer <[email protected]>
…UBoot"

This reverts commit 71ba9b7.

Signed-off-by: Johann Fischer <[email protected]>
This reverts commit 02eb16b.

Signed-off-by: Johann Fischer <[email protected]>
…ching"

This reverts commit 360d107.

Signed-off-by: Johann Fischer <[email protected]>
This reverts commit 6692263.

Signed-off-by: Johann Fischer <[email protected]>
… overlay"

This reverts commit 5336bb3.

Signed-off-by: Johann Fischer <[email protected]>
…LTIN info"

This reverts commit 7349c61.

Signed-off-by: Johann Fischer <[email protected]>
…PARTITION_MANAGER"

This reverts commit deb2aa8.

Signed-off-by: Johann Fischer <[email protected]>
…NABLED"

This reverts commit 0935cf2.

Signed-off-by: Johann Fischer <[email protected]>
…NO=n"

This reverts commit 7c789f5.

Signed-off-by: Johann Fischer <[email protected]>
… config"

This reverts commit 5fffb08.

Signed-off-by: Johann Fischer <[email protected]>
…age config"

This reverts commit e3b083e.

Signed-off-by: Johann Fischer <[email protected]>
…er happy"

This reverts commit d7c8b1a.

Signed-off-by: Johann Fischer <[email protected]>
This reverts commit f98ad62.

Signed-off-by: Johann Fischer <[email protected]>
…lected"

This reverts commit 703e828.

Signed-off-by: Johann Fischer <[email protected]>
This reverts commit d9af209.

Signed-off-by: Johann Fischer <[email protected]>
ankuns and others added 23 commits May 13, 2025 10:32
…o 26

The tx-en-settle-time-us is set to 26 to take into account
the time needed for the RF output power rise time of the nRF5 SoC.

Signed-off-by: Andrzej Kuros <[email protected]>
(cherry picked from commit 024deb4)
…XTO during restart

Some SoCs generates unexpected RXTO event during restart.
Restart happens when ENDRX_STARTRX short is enabled and STOPRX
is triggered (via short or by CPU). STOPRX starts closing
procedure and ENDRX event is generated at some point which
triggers STARTRX and closing procedure is interrupted. RXTO
should not be triggered in that case. Due to internal timings
some SoC on fast UARTE instance will trigger RXTO followed
by RXSTARTED. This RXTO event shall be cleared as receiver is
actually restarted and not stopped.

Affected SoC is not in tree so Kconfig is added which enables
the workaround.

Upstream PR #: 88935

Signed-off-by: Krzysztof Chruściński <[email protected]>
(cherry picked from commit 2742e46)
…, not select

Turn the MBEDTLS_RSA_FULL selects into depends on.
This is how the other MBEDTLS_KEY_EXCHANGE_* Kconfig options are defined.

This is done to avoid circular dependencies.

At the same time update uses of the affected MBEDTLS_KEY_EXCHANGE_*
Kconfig options to enable/disable the dependencies which used to be
automatically handled.

Upstream PR #: 89200

Signed-off-by: Tomi Fontanilles <[email protected]>
(cherry picked from commit deacfa35eb7bd9d2731ef7f16aedc9b14d1cc3b7)
Update the casting of the 'attr' parameter in pthread_cond_init to use
the correct variable name 'att'. Thanks clang for spotting the typo.

Signed-off-by: Benjamin Cabé <[email protected]>
(cherry picked from commit f412cc6)
Fix ethernet_hw_caps initialization in ethernet.h for
strict type checking.

g++-12: include/zephyr/net/ethernet.h:957:38: error: invalid \
 conversion from 'int' to 'ethernet_hw_caps' [-fpermissive]

Signed-off-by: Daniel Nicoletti <[email protected]>
(cherry picked from commit b4f940d)
…for ZLL

BT_TICKER_LAZY_GET is a ZLL only kconfig and should not be selected for
other controllers.

Upstream PR #: 89249

Signed-off-by: Timothy Keys <[email protected]>
(cherry picked from commit d82bf446937522690e02ae9a9ce4e652db0b8bb0)
…TO_PRNG

PSA Crypto API always allow psa_generate_random() to be called (i.e. there
is no PSA_WANT_xxx symbol that can be used to disable it). How random
numbers are generated internally is a library internal detail, but the
end user (Bluetooth) does not need to worry about this.

Signed-off-by: Valerio Setti <[email protected]>
(cherry picked from commit 52dcb25)
Replace `CONFIG_NET_L2_IEEE802154` with `CONFIG_NET_L2_PHY_IEEE802154`
as `NET_LINK_ADDR_MAX_LENGTH` should be set to `8` for all IEEE 802.15.4
based L2, e.g. OpenThread.

Signed-off-by: Adrian Gielniewski <[email protected]>
(cherry picked from commit 39e051f)
…ning

Theoretically (if either `height` or `width` in `config` is set to 0),
the `ret` variable might be returned from `st7567_clear()` without
being initialized.
Add initialization of this variable to avoid compiler warnings.

Signed-off-by: Andrzej Głąbek <[email protected]>
(cherry picked from commit fee8edd)
…culations.

Code responsible for internal capacitor values containted
leftover workarounds in the calculations after PS update.
Removed redundant conversions and cleaned up both code
and comments to align both LFXO and HFXO calculation.

Signed-off-by: Michał Stasiak <[email protected]>
(cherry picked from commit 63f2fe9)
Adopt to proper Path usage for nrf modules
Updated for upmerge.

nrf-squash! [nrf noup] ci: set `ZEPHYR_<MODULE_NAME>_KCONFIG` for NCS modules

Signed-off-by: Carles Cufi <[email protected]>
Signed-off-by: Torsten Rasmussen <[email protected]>
Remove CONFIG_PINCTRL.

nrf-squash! [nrf noup] boards: nordic: nrf7002dk: Bring back NS variants

Signed-off-by: Johann Fischer <[email protected]>
…t_config

The nRF GPIO hardware does not store the initial output value
set resulting from gpio_pin_configure() and thus, when
gpio_get_config() is used, the initial value is not returned.

This commit just reads the output value and sets the INIT
value to match in gpio_get_config().

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
(cherry picked from commit 0826996)
nRF7120 PDK support that uses IPC as comms b/w APP and Wi-Fi domains.

Signed-off-by: Chaitanya Tata <[email protected]>
(cherry picked from commit 3953bb9)
Set static or random MAC before calling net_linkaddr_set().

Signed-off-by: Seppo Takalo <[email protected]>
(cherry picked from commit 673853a)
This reverts commit 5386a64.

Issue is no longer relevant. Simplify use of board by restoring
enabling secure ipc by default.

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
(cherry picked from commit 89ba317)
This reverts commit 65bc4d9.

Signed-off-by: Carles Cufi <[email protected]>
Necessary changes for NCS CI.

- Add a Jenkinsfile
- Add a commit-tags workflow: This enables sauce tag checking in sdk-zephyr
- compliance.yml: Disable check for merge commits, since we have upmerges
downstream. Also, since in the code we refer to Kconfig symbols that are defined
in the sdk-nrf repository, the Kconfig checks ((SysBuild)Kconfig,
(SysBuild)KconfigBasic and (SysBuild)KconfigBasicNoModules) will not pass so
exclude them. Also, disable any maintainers-related checks
- scripts/gitlint: Extend the max commit line lengths for Gitlint to account
for sauce tags
- Adapt to the changes in:
nrfconnect/action-commit-tags#4

Signed-off-by: Carles Cufi <[email protected]>
Signed-off-by: Dominik Ermel <[email protected]>
Signed-off-by: Martí Bolívar <[email protected]>
Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
Signed-off-by: Krishna T <[email protected]>
Signed-off-by: Dominik Ermel <[email protected]>
(cherry picked from commit 6692263)
Adds symbols used in NCS to the sysbuild Kconfig allow list

Signed-off-by: Jamie McCrae <[email protected]>
Neither NFC nor FindMy use Bluetooth Mesh, but CI is triggered and may
fail.

Signed-off-by: Pavel Vasilyev <[email protected]>
When PPP net_if is changed to dormant, the PPP connection
is terminated asynchronously. This is used so that the driver
can terminate the PPP connection gracefully.

Note: net_if_down() is not used as it would require synchronous
operation which would block the system workqueue thus causing
deadlock.

Signed-off-by: Markus Lassila <[email protected]>
(cherry picked from commit 93c3975)
Previously, it was expected that the modem would immediately
disconnect and close the PPP link, when the network was lost
(+CEREG: 4 is received). Failure to do so, would result in
modem attempting to chat with dlci2 channel, where as cellular
modem driver would drop to dlci1. This would show as dial
script timing out, which would freeze cellular modem driver.

Adding dormant state enables graceful disconnection of PPP-link
when the network is lost. This allows the modems which do
not automatically close with network link loss to close
based on PPP link closure.

Signed-off-by: Markus Lassila <[email protected]>
(cherry picked from commit 5b6a865)
Copy link

@MarkusLassila
Copy link
Contributor Author

Branch is a mess. Creating a new PR from this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.